package com.wnx.job.common.mapstruct;


import com.wnx.job.modules.pms.dto.SendParam;
import com.wnx.job.modules.pms.model.PmsSend;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author wangnaixing
 */
@Mapper
public interface SendMapper {
    SendMapper INSTANCE = Mappers.getMapper(SendMapper.class);

    SendParam toDto(SendParam tbSend);

    PmsSend toPojo(SendParam sendParam);
}
